#include "Seqlish.h"

int main()
{
	Seqlish p;
	InitSeqlish(&p);

	Push_Back(&p, 1);
	Push_Back(&p, 2);
	Push_Back(&p, 3);
	Push_Back(&p, 4);
	Push_Back(&p, 5);
	Push_Back(&p, 6);
	Print(&p);

	Pop_Back(&p);
	Pop_Back(&p);
	Print(&p);

	Push_Front(&p, 0);
	Push_Front(&p, -1);
	Push_Front(&p, -2);
	Print(&p);

	Pop_Front(&p);
	Pop_Front(&p);
	Print(&p);

	Insert(&p, 3, 100);
	Insert(&p, 3, 200);
	Insert(&p, 3, 300);
	Print(&p);

	Erase(&p, 3);
	Print(&p);

	Destory(&p);
	return 0;
}